//
//  DTCDataSaveToFileManager.h
//  SmartYunYiWindow
//
//  Created by JianWei Chen on 17/3/25.
//  Copyright © 2017年 JianWei Chen. All rights reserved.
//

#import <Foundation/Foundation.h>

#define DTCSAVE_OBJECT(object,key) [[DTCDataSaveToFileManager standardUserDefaults]setValue:object forKey:key]
#define DTCEXRACT_OBJECT(key) [[DTCDataSaveToFileManager standardUserDefaults]valueForKey:key]
#define DTCREMOVE_OBJECT(key)   [[DTCDataSaveToFileManager standardUserDefaults]removeObjectForKey:key]

@interface DTCDataSaveToFileManager : NSObject

+ (DTCDataSaveToFileManager *)standardUserDefaults;

- (void)setValue:(id)value forKey:(NSString *)key;
- (id)valueForKey:(NSString *)key;
- (void)removeObjectForKey:(NSString *)key;

@end
